package com.cjg.functionInterface;


import java.util.function.Consumer;

public class demo03 {

    public static void main(String[] args) {
//        Consumer<String> consumer = new Consumer<String>() {
//
//            @Override
//            public void accept(String o) {
//                System.out.println(o);
//            }
//        };
        Consumer<String> consumer =(o)->{
            System.out.println(0);
        };
                consumer.accept("0");


    }
}